package com.xizi.秋招笔试.AC360;

import java.util.Arrays;
import java.util.Scanner;

/**
 * @author xizizzz
 * @description: TODO
 * @date 2021-8-29下午 03:22
 */
public class Test {
    public static void main(String[] args) {
        final Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int p = scanner.nextInt();
        int q = scanner.nextInt();
        int[] arr = new int[n];
        for (int i = 0; i < n; i++) {
            arr[i] = scanner.nextInt();
        }
        Arrays.sort(arr);
        int res = 0;
        int score = 100;
        int temp = 0;
        for (int i = n - 1; i >= 0; i--) {
            if ((q * arr[i] + p * score) > 6000) {
                res++;
            }
            if (arr[i] == temp) {
                continue;
            }
            temp = arr[i];
            if (score == 0) {
                score = 0;
                continue;
            }
            score--;
        }
        System.out.println(res);
    }
}
